package cn.wolfcode.car.business.mapper;

import cn.wolfcode.car.business.domain.CarPackageAudit;
import cn.wolfcode.car.common.base.query.QueryObject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CarPackageAuditMapper {

    CarPackageAudit selectOne(Long id);

    List<CarPackageAudit> selectAll();

    List<CarPackageAudit> queryForList(QueryObject qo);

    void insert(CarPackageAudit carPackageAudit);

    void update(CarPackageAudit carPackageAudit);

    void deleteById(Long id);

    void changeAuditStatus(@Param("id") Long id, @Param("status") Integer status);

    void changeAudits(@Param("id") Long id, @Param("status") Integer status);
}

